package com.xz.knowledgeDuplication.pattern.decorator;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * 快餐类(抽象构件)
 *
 * @author 召
 * @date 2022-03-12 22:35:08
 */
@Data
@AllArgsConstructor
public abstract class FastFood {

    private float price;

    private String desc;

    public abstract float cost();
}
